package com.ruoyi.storage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理对象 warehouse_info
 * 
 * @author 庞一恺
 * @date 2025-01-08
 */
public class WarehouseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库编码 */
    private Integer warehouseId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 负责人（用户id） */
    @Excel(name = "负责人", readConverterExp = "用=户id")
    private Long principal;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String warehouseAdd;

    /** 库区数量 */
    @Excel(name = "库区数量")
    private Long zoneNum;

    public void setWarehouseId(Integer warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Integer getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setPrincipal(Long principal) 
    {
        this.principal = principal;
    }

    public Long getPrincipal() 
    {
        return principal;
    }
    public void setWarehouseAdd(String warehouseAdd) 
    {
        this.warehouseAdd = warehouseAdd;
    }

    public String getWarehouseAdd() 
    {
        return warehouseAdd;
    }
    public void setZoneNum(Long zoneNum) 
    {
        this.zoneNum = zoneNum;
    }

    public Long getZoneNum() 
    {
        return zoneNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("principal", getPrincipal())
            .append("warehouseAdd", getWarehouseAdd())
            .append("zoneNum", getZoneNum())
            .toString();
    }
}
